import { post } from '@/api/http'

export const getsingleCarStatistics = (data: any) => post({ url: '/singleCarStatistics/pageList', data })
// 数据统计
export const getStatisticsData = (data: any) => post({ url: '/singleCarStatistics/findStatistics', data })
// 资产费用详情（保养、年检、维修、借出）
export const getAssetFeeDetailList = (data: any) => post({ url: '/singleCarStatistics/asset', data })
//购置税费用详情
export const getpurchaseTaxList = (data: any) => post({ url: '/singleCarStatistics/purchaseTax', data })
// 租金统计
export const getRentDetailList = (data: any) => post({ url: '/singleCarStatistics/shortOrderFeeList', data })
// 违章代办总计
export const getViolationFeeList = (data: any) => post({ url: '/singleCarStatistics/violation', data })
// 报销单总计
export const getExpenseFeeList = (data: any) => post({ url: '/singleCarStatistics/cost', data })
// 报销单导出
export const exportExpenseFeeList = (data: any) => post({ url: '/singleCarStatistics/costExport', data })
// 单车核算导出
export const exportSingleCarAccounting = (data: any) => post({ url: '/singleCarStatistics/exportExcel', data })
// 单车核算统计报表导出
export const exportSingleCarAccountingReport = (data: any) => post({ url: '/singleCarStatistics/exportReportExcel', data })
// 获取车牌列表
export const getCarList = (data: any) => post({ url: '/carInfo/getAllList', data })
// 修改购置分期
export const updatePurchaseTax = (data: any) => post({ url: '/singleCarStatistics/purchaseTax/editReceivable', data })
// 租金总计导出
export const exportRentAmount = (data: any) => post({ url: '/singleCarStatistics/exportShortOrderExcel', data })
// 违章代办导出
export const exportViolationFee = (data: any) => post({ url: '/singleCarStatistics/violationExport', data })
// 查询购置费分期配置
export const getPurchaseTaxConfig = (data: any) => post({ url: '/singleCarStatistics/purchaseTax/queryConfig', data })
// 获取订单营收提示
export const getOrderRevenueTips = (data: any) => post({ url: '/singleCarStatistics/getEnums', data })
